using System;

namespace FreeFlow.Client.Events
{
  /// <summary>Arguments passed to the ActionButtonClickEventHandler event handler</summary>
  public class ActionButtonClickEventArgs : EventArgs
  {
    /// <summary>
    /// Creates a new <see cref="ActionButtonClickEventArgs"/> instance.
    /// </summary>
    /// <param name="actionName">Name of the action whose button was pressed.</param>
    public ActionButtonClickEventArgs(string actionName) : base()
    {
      this.actionName = actionName;
    }

    private string actionName;
    /// <summary>
    /// Gets the name of the action whose button was pressed.
    /// </summary>
    public string ActionName 
    {
      get { return actionName; }
    }
  }
}
